/**
 * 
 */
package org.hotpotmaterial.codegenn2.config.security.service;

import org.hotpotmaterial.codegenn2.entity.HmteamAccount;

/**
 * @author cakydeveloper
 *
 */
public interface IAccountTokenService {

	/**
	 * 获取用户信息
	 * 
	 * @param token
	 * @return
	 */
	public HmteamAccount getUser(String token);

	/**
	 * 创建token
	 * 
	 * @param user
	 * @return
	 */
	public String createToken(HmteamAccount user);

	/**
	 * 删除token
	 * 
	 * @param token
	 */
	public void deleteToken(String token);

}
